#!/bin/bash


read -p "please input first number: " firstnum
read -p "please input second number: " secondnum

#数值计算语法： 使用$[var1*var2] 或者 $((var1*var2)) ,括号中的变量可以不使用$符号
total=$(($firstnum*$secondnum)) 

echo -e "\n The result of $firstnum x $secondnum is => $total"
